/**
 * 停车场类型定义
 */
export interface ParkingLotType {
  id: number
  name: string
  location: string
  totalSpaces: number
  availableSpaces: number
  status: string
  fee: {
    hourly: number
    daily: number
  }
  openingHours: string
  imageUrl?: string
  description?: string
  features?: string[]
  contactPhone?: string
  createTime?: string
  updateTime?: string
}

/**
 * 停车记录类型定义
 */
export interface ParkingRecordType {
  id: number
  parkingLotId: number
  parkingLotName: string
  carNumber: string
  entryTime: string
  exitTime?: string
  duration?: string
  fee?: number
  status: string
  paymentStatus?: string
  paymentMethod?: string
  paymentTime?: string
}

/**
 * 停车场状态枚举
 */
export enum ParkingLotStatus {
  OPEN = '营业中',
  CLOSED = '已关闭',
  MAINTENANCE = '维护中',
  FULL = '已满'
}

/**
 * 停车记录状态枚举
 */
export enum ParkingRecordStatus {
  PARKING = '停车中',
  EXITED = '已离场',
  EXPIRED = '已过期'
}

/**
 * 支付状态枚举
 */
export enum PaymentStatus {
  UNPAID = '未支付',
  PAID = '已支付',
  PENDING = '支付中',
  REFUNDED = '已退款'
}

/**
 * 支付方式枚举
 */
export enum PaymentMethod {
  WECHAT = '微信支付',
  ALIPAY = '支付宝',
  CASH = '现金',
  CARD = '银行卡'
} 